orNull

infix fun orNull(value: Int): StrictlyPositiveInt?

Returns the value as a strictly positive int, or returns null if the value is negative.